package com.goktech.olala.core.service;

import com.goktech.olala.server.pojo.goods.Picture;

import java.util.List;

/**
 * @Classname IPictureService
 * @Description TODO
 * @Date 2020/12/12 23:51
 * @Created by ASUS
 */
public interface IPictureService {

    int deleteByPrimaryKey(Long pictureId);

    int insert(Picture record);

    Picture selectByPrimaryKey(Integer pictureId);

    List<Picture> selectAll();

    int updateByPrimaryKey(Picture record);
    //根据商品id搜索图片
    List <Picture> selectByGoodsId(String relationId);
}
